package com.ruoyi.hualian.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.hualian.domain.HlMaterialOd;
import org.apache.ibatis.annotations.Mapper;

/**
 * 材质ODMapper接口
 * 
 * @author hujian
 */
@Mapper
public interface HlMaterialOdMapper extends BaseMapper<HlMaterialOd>
{
    /**
     * 查询材质OD
     * 
     * @param odId 材质OD主键
     * @return 材质OD
     */
    public HlMaterialOd selectHlMaterialOdByOdId(Long odId);

    /**
     * 查询材质OD列表
     * 
     * @param hlMaterialOd 材质OD
     * @return 材质OD集合
     */
    public List<HlMaterialOd> selectHlMaterialOdList(HlMaterialOd hlMaterialOd);

    /**
     * 新增材质OD
     * 
     * @param hlMaterialOd 材质OD
     * @return 结果
     */
    public int insertHlMaterialOd(HlMaterialOd hlMaterialOd);

    /**
     * 修改材质OD
     * 
     * @param hlMaterialOd 材质OD
     * @return 结果
     */
    public int updateHlMaterialOd(HlMaterialOd hlMaterialOd);

    /**
     * 删除材质OD
     * 
     * @param odId 材质OD主键
     * @return 结果
     */
    public int deleteHlMaterialOdByOdId(Long odId);

    /**
     * 批量删除材质OD
     * 
     * @param odIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHlMaterialOdByOdIds(Long[] odIds);
}
